home *** CD-ROM | disk | FTP | other *** search
- #include "system_headers.h"
-
- struct MUI_CustomClass *FontDisplayClass = NULL;
-
- #if 0
- #include <libraries/locale.h>
- #include <proto/locale.h>
-
- void dummyfunc(void)
- {
- struct Library *LocaleBase;
-
- if (LocaleBase = OpenLibrary("locale.library", 38)) {
- struct Catalog *cat;
-
- if (cat = OpenCatalog(NULL, "sys/system.catalog", TAG_DONE)) {
- struct Catalog *c;
-
- for (c = cat; c->cat_Link.ln_Pred; c = (struct Catalog *)c->cat_Link.ln_Pred);
- for (c = (struct Catalog *)c->cat_Link.ln_Succ; c->cat_Link.ln_Succ; c = (struct Catalog *)c->cat_Link.ln_Succ) {
- Printf("%-20s %-10s %ld.%ld\n", c->cat_Link.ln_Name, c->cat_Language, c->cat_Version, c->cat_Revision);
- }
-
- CloseCatalog(cat);
- }
-
- CloseLibrary(LocaleBase);
- }
- }
- #endif
-
- BOOL CreateCustomClasses( void )
- {
- if (!(FontDisplayClass = MUI_CreateCustomClass(NULL, MUIC_Area, NULL, sizeof(struct FontDisplayData), FontDisplayDispatcher))) return FALSE;
-
- // dummyfunc();
-
- return TRUE;
- }
-
- void DeleteCustomClasses( void )
- {
- if (FontDisplayClass) MUI_DeleteCustomClass(FontDisplayClass);
- }
-